package icu.sehnen.mapper;

import icu.sehnen.model.ProgressModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProgressMapper {

    List<ProgressModel> findAll();

    ProgressModel findProgressById(Long id);

    void delete(Long id);

    void update(ProgressModel progressModel);

    void deleteImg(@Param("id") Long id, @Param("imgUrl") String imgUrl);

    void add(ProgressModel progressModel);
}
